package metodologia;

import java.util.ArrayList;

public class ConjuntoDeEtapas implements java.io.Serializable{
    private ArrayList<Etapa> listaDeEtapa;
    private int id, type, catid; // good coding practice would have this as private
    private double X,Y;
    private int state;
    
    public ConjuntoDeEtapas(){
        listaDeEtapa = new ArrayList<Etapa>();
    }

    public ArrayList<Etapa> getListaDeEtapa() {
        return listaDeEtapa;
    }

    public void setListaDeEtapa(ArrayList<Etapa> listaDeEtapa) {
        this.listaDeEtapa = listaDeEtapa;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getCatid() {
        return catid;
    }

    public void setCatid(int catid) {
        this.catid = catid;
    }

    public double getX() {
        return X;
    }

    public void setX(double X) {
        this.X = X;
    }

    public double getY() {
        return Y;
    }

    public void setY(double Y) {
        this.Y = Y;
    }

    /**
     * @return the state
     */
    public int getState() {
        return state;
    }

    /**
     * @param state the state to set
     */
    public void setState(int state) {
        this.state = state;
    }
}
